package com.yanyeori.framework.log.common.annotation;

import com.yanyeori.framework.log.common.constant.LogIgnoreType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 日志打印忽略
 * 控制LogInterceptor打印的请求调用信息
 *
 * @author chenkuan 2022/11/18
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface LogIgnore {
    LogIgnoreType[] type() default {LogIgnoreType.ALL};
}
